package cn.wolfcode.luowowo.acticle.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class DestinationThemeQuery implements Serializable {
    private int currentPage = 1;
    private int pageSize = 9;
    private Integer viewMonth = -1; //月份
    private Long themeId = -1L; //主题的id
    private int dayType = -1;   //在目的地花费的天数

    //在目的地花费的天数
    public DestinationCondition getDay(){
        return DestinationCondition.DEST_DAYS.get(dayType);
    }
}
